package com.f8q8.agent.task;

import lombok.extern.slf4j.Slf4j;
import org.springframework.scheduling.annotation.EnableScheduling;
import org.springframework.scheduling.annotation.Scheduled;
import org.springframework.stereotype.Component;

/**
 * TODO
 *
 * @author zxl78
 * @version 1.0
 * @since 2023/12/05 0005 17:21:51
 */
@Slf4j
@Component
@EnableScheduling
public class ScheduledTask {
    /**
     * 检查adb是否离线
     */
    @Scheduled(cron = "*/10 * * * * ?")
    public void checkAdb() {
        // 执行adb命令，查询当前的终端udid，更新到deviceMap中

    }
}
